var Opening = function()
{
	this.img = new Array();
	
	this.img[0] = new Image();
	this.img[0].src = "Images/Opening.jpg";
	
	this.img[1] = new Image();
	this.img[1].src = "Images/Opening_Iniciar.jpg";
	
	this.img[2] = new Image();
	this.img[2].src = "Images/Opening_Instrucoes.jpg";
	
	this.img[3] = new Image();
	this.img[3].src = "Images/Opening_Creditos.jpg"
	
	this.audio = new Array();
	
	this.audio[0] = new Image();
	this.audio[0].src = "Images/AudioOn.png";
	
	this.audio[1] = new Image();
	this.audio[1].src = "Images/AudioOFF_new.png";
	
	this.update = function()
	{
	}
	
	this.draw = function()
	{
		graphics.DrawImage(this.img[sceneManager.num], -4.5, 0);
		
		if(!sceneManager.audio)
		{
			graphics.DrawImage(this.audio[1], 689, 545);
		}
		
		if(sceneManager.audio)
		{
			graphics.DrawImage(this.audio[0], 689, 545);
		}
	}
}

var opening = new Opening();